import * as ActionTypes from './ActionTypes';

export default (state = {},action) =>{
    switch (action.type) {
        case ActionTypes.GETPDD:
            return {
                pageData:action.data,
                action:{
                    type:action.type,
                    text:action.text,
                }
            };
            break;
        default:
            return state;

    }
}
